#ifndef __FLAPP_BAT_MANAGE_H__
#define __FLAPP_BAT_MANAGE_H__

#include "fldrv_common.h"

#define ADC_READ_CNT			10

typedef enum
{
	BAT_NO_ELE									= 0,
  BAT_POW_OFF,
  BAT_LOW,
	BAT_ELE_30,
  BAT_ELE_40,
	BAT_ELE_50,
  BAT_ELE_60,
	BAT_ELE_70,
  BAT_ELE_80,
	BAT_ELE_90,
	BAT_ELE_FULL,
} bat_ele_type;


void fldrv_bat_manage_init(void);
void flapp_bat_manage_run(void);
void flapp_set_bat_refresh(bool flag);
#endif
